package com.shf.common
{
	import com.roguedevelopment.objecthandles.SpriteHandle;

	public class CustomSpriteHandle extends SpriteHandle
	{
		public function CustomSpriteHandle()
		{
			super();
		}

		override public function redraw() : void
		{
			graphics.clear();
			if( isOver )
			{
				graphics.lineStyle(1,0x3dff40);
				graphics.beginFill(0xc5ffc0	,1);				
			}
			else
			{
				graphics.lineStyle(1,0);
				graphics.beginFill(0xaaaaaa,1);
			}
			
			graphics.drawRect(-2.5,-2.5,5,5);
			graphics.endFill();
			
		}
	}
}